import { request } from "@/utils/service"
// 后台车辆维修管理
export function getCarAnnualReviewList(data: any) {
  return request({
    url: "/bg/carUpKeep/getList",
    method: "post",
    data
  })
}
//保存或修改
export function saveOrUpdateCarAnnualReview(data: any) {
  return request({
    url: "/bg/carUpKeep/saveOrUpdate",
    method: "post",
    data
  })
}

//详情
export function getCarAnnualReviewDetails(data: any) {
    return request({
      url: "/bg/carUpKeep/getById",
      method: "post",
      data
    })
}

//根据id删除
export function deleteCarAnnualReviewById(data: any) {
    return request({
      url: "/bg/carUpKeep/deleteById",
      method: "post",
      data
    })
}
